ServiceCreateAttachment Method (Attachment, ItemId) |
Creates either an item or file attachment and attaches it to the specified item.
Namespace:
Independentsoft.Exchange
Assembly:
Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntaxpublic AttachmentId CreateAttachment(
Attachment attachment,
ItemId itemId
)
Public Function CreateAttachment (
attachment As Attachment,
itemId As ItemId
) As AttachmentId
Parameters
- attachment
- Type: Independentsoft.ExchangeAttachment
The attachment to create. - itemId
- Type: Independentsoft.ExchangeItemId
The parent item to attach attachment to.
Return Value
Type:
AttachmentIdThe identifier of the parent item.
See Also